CSS-[盒子的型態]- inline boxes | inline-block | block


直到今天才真的弄清楚,inline-block到底是什麼模樣XD

盒模型 (待補)

三者型態的比較:

inline boxes

inline-block 到底是什麼盒子

什麼時候需要轉型成inline-block?
可能在inline是a標籤作為導覽列時,
需要上方一些margin空間,就會考慮變成inline-block








你可能感興趣的文章

[Release Notes] 20200926_v1 - Refined main style to Dark Mode

[Release Notes] 20200926_v1 - Refined main style to Dark Mode

波士頓房價預測模型

波士頓房價預測模型

簡易部署 AWS EC2 遠端主機 + Ubuntu LAMP 環境 + phpmyadmin +FileZilla上傳檔案 +遇到問題

簡易部署 AWS EC2 遠端主機 + Ubuntu LAMP 環境 + phpmyadmin +FileZilla上傳檔案 +遇到問題






留言討論